package com.amqr.movetest.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Toast;

import com.amqr.movetest.R;

/**
 * User: LJM
 * Date&Time: 2017-05-25 & 09:40
 * Describe: Describe Text
 */
public class ClickActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_click);

        findViewById(R.id.mTv).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Toast.makeText(ClickActivity.this,"ininin ",Toast.LENGTH_SHORT).show();
            }
        });

        findViewById(R.id.mOut).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Toast.makeText(ClickActivity.this,"Out外外外",Toast.LENGTH_SHORT).show();
            }
        });

        findViewById(R.id.mBigOut).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Toast.makeText(ClickActivity.this,"最外层",Toast.LENGTH_SHORT).show();
            }
        });


    }
}
